package com.musicalevents.entity.pk;

import java.io.Serializable;

import javax.persistence.Embeddable;
import com.musicalevents.entity.Band;
import com.musicalevents.entity.Place;

@Embeddable 
public class ConcertPK implements Serializable {
	
	private Band band;
	private Place place;
	
	public ConcertPK() { }
	
	public ConcertPK(Band band, Place place) {
		this.band = band;
		this.place = place;
	}

	public Band getBand() {
		return band;
	}

	public void setBand(Band band) {
		this.band = band;
	}

	public Place getPlace() {
		return place;
	}

	public void setPlace(Place place) {
		this.place = place;
	}
}
